-
Notifications
You must be signed in to change notification settings - Fork 42
Added full KMP support for the Gradle Plugin #534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: grpc-common
Are you sure you want to change the base?
Conversation
Jozott00
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Looks good to me.
| if (protocApplied.get()) { | ||
| error("Illegal access to protoc extension during DefaultProtocExtension.init") | ||
| } | ||
|
|
||
| protocApplied.set(true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be
if (protocApplied.getAndSet(true) { ... }
to make it actually thread safe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, you're right
Subsystem
Gradle Plugin
Problem Description
KMP support was working only for commonMain/Test sets
Solution
Add full KMP sources hierarchy support